package ua.yandex.skipass;

import java.util.Calendar;

public class WeekdayLimitedPassFactory implements PassFactory {
    private ClimbType climbType;
    private Calendar expirationDate;

    WeekdayLimitedPassFactory(ClimbType climbType, Calendar expirationDate) {
        this.climbType = climbType;
        this.expirationDate = expirationDate;
    }

    @Override
    public SkiPass generateSkiPass() {
        return new WeekdayLimitedPass(climbType, expirationDate);
    }
}
